nested vmx: check host ability when intercept MSR read
authorDongxiao Xu <dongxiao.xu@intel.com>
Thu, 6 Dec 2012 16:59:27 +0000 (16:59 +0000)
committerDongxiao Xu <dongxiao.xu@intel.com>
Thu, 6 Dec 2012 16:59:27 +0000 (16:59 +0000)
commit4aa8723b7a9fa57750087e3d3ba54fe7aedff494
tree5851f0acd393f30bf2ff04bd6cfc09473b71cc0d
parente018256bfbfa1fbd8b0a598b219171ddd0e2fe17
nested vmx: check host ability when intercept MSR read

When guest hypervisor tries to read MSR value, we intercept this
behavior and return certain emulated values. Besides that, we also
need to ensure that those emulated values must compatible with host
ability.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/vmx/vvmx.c